Type.registerNamespace("Telerik.Web.UI");
(function(){var a=Telerik.Web.UI;
a.ResourceStyleMappingCollection=function(){this._array=[];
};
a.ResourceStyleMappingCollection.prototype={add:function(b){var c=this._array.length;
this._array[c]=b;
},getStyleMapping:function(b){return this._array[b];
},getMatchingClasses:function(c){var b=[];
this.forEach(function(g){var d=g.get_applyCssClass();
var e=g.get_type();
var f=g.get_key();
var h=g.get_text();
if(!d){return;
}if(!e&&!f&&!h){return;
}if(e&&e!=c.get_type()){return;
}if(f&&f!=c.get_key()){return;
}if(h&&h!=c.get_text()){return;
}b[b.length]=d;
});
return b;
},get_count:function(){return this._array.length;
},forEach:function(c){for(var d=0,b=this.get_count();
d<b;
d++){c(this.getStyleMapping(d));
}}};
a.ResourceStyleMappingCollection.registerClass("Telerik.Web.UI.ResourceStyleMappingCollection");
})();
